package com.lucher.mes.dao;

import java.util.List;

import com.lucher.mes.po.Workmachine;
import com.lucher.mes.po.Workmachinelogin;

public interface WorkmachineloginMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Workmachinelogin record);

    int insertSelective(Workmachinelogin record);

    Workmachinelogin selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Workmachinelogin record);

    int updateByPrimaryKey(Workmachinelogin record);
    
    //自定义接口
    List<Workmachinelogin> findByList(Workmachinelogin record);
    List<Workmachinelogin> findByListForPage(Workmachinelogin record);
    int findByCount(Workmachinelogin record);
    Workmachinelogin findLatestLoginerByMachinecode(String machinecode);
    
    List<Workmachinelogin> findCurrentDayLoginByListForPage(Workmachinelogin record);
    int findCurrentDayLoginByCount(Workmachinelogin record);
}